/**
 * 字典管理
 */
 import request from '../utils/request';

 export const DictDetails = (dang, id, size, name) => {
     return request({
         url: 'api/DictDetails/dictdetailsshow?name=' + name + '&id=' + id + '&size=' + size + '&dang=' + dang,
         method: 'get',
 
     });
 };
 
 export const Dictdelete = (ids) => {
     return request({
         url: 'api/Dict/deletedict?id=' + ids,
         method: 'get',
 
     });
 };
 
 export const DictShow = () => {
     return request({
         url: 'api/Dict/getdictshow',
         method: 'get',
 
     });
 };
 export const DictAdd = form => {
     return request({
         url: 'api/Dict/pustdictadd', form,
         method: 'post',
         data: form
     });
 };
 export const Dictupdate = table => {
     return request({
         url: 'api/Dict/updatedict', table,
         method: 'post',
         data: table
     });
 };